home *** CD-ROM | disk | FTP | other *** search
/ Mac-Source 1994 July / Mac-Source_July_1994.iso / C and C++ / System / DinkClass / DC TextEdit / DTEditApp.h < prev    next >
Text File  |  1992-10-11  |  850b  |  40 lines

  1. /*
  2.     File:        DTEditApp.h
  3.  
  4.     Written by:    Mark Gross
  5.  
  6.     Copyright:    © 1992 by Applied Technical Software, all rights reserved.
  7.     Use at your own risk.
  8.  
  9. */
  10.  
  11. // This is the class declaration for the DTEditApp subclass to 
  12. // DApp
  13.  
  14. #ifndef __DTEDITAPP__
  15. #define __DTEDITAPP__
  16.  
  17. #include"DApplication.h"
  18.  
  19. class DTEditApp : public DApplication
  20. {
  21. public:
  22.  
  23.     DTEditApp(void);
  24.     ~DTEditApp(void);
  25.         // stub con/de structors... here just for style
  26.  
  27.     virtual DDocument* MakeDDoc(Boolean OpenFromFile);
  28.         // creats the application spacific DTEditDoc objects
  29.  
  30.     virtual void SetUpMenues(void);
  31.         // enables the open menu item.  This may be a break in 
  32.         // oop style, but I know that the DApplication HandleMenuChoice
  33.         // will respond correctly (calls MakeDDoc)to an Open menu selection 
  34.         // so I don't need to have a HandleMenuChoice method in this class.
  35. };
  36.  
  37.  
  38. #endif 
  39.  
  40.